<template>
	<view>
		<view class="mine_msg">
			<i class="iconfont" :style="'color:#' + color" @click="msg_info">&#xe8bd;</i>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version: '1.0',
				versionHref: 'version1'
			}
		},
		props: {
			color: {
				type: String,
				default: 'fff'
			}
		},
		methods: {
			msg_info() {
				uni.navigateTo({
					url: '/pages/version5/public/message/message_info'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mine_msg {
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		padding: 25rpx;
		margin-top: 30rpx;

		view {
			width: 90%;
			height: 100%;
		}

		.iconfont {
			font-size: 48rpx;
			// width: 100%;
			text-align: end;
		}
	}
</style>